package com.atguigu.userservice.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

public class UserResponseVo {

    @Data
    public static class RepUserResponseVo{
        @ApiModelProperty(value = "用户id")
        @TableId(value = "id", type = IdType.ID_WORKER_STR)
        private String id;

        @ApiModelProperty(value = "类型 1普通用户 2商家用户")
        private String type;


        @ApiModelProperty(value = "商家所在一级行业id")
        private String subjectId;

        @ApiModelProperty(value = "商家所在行业二级id")
        private String subjectParentId;

        @ApiModelProperty(value = "店铺名称")
        private String shopName;

        @ApiModelProperty(value = "店铺简述")
        private String shopDescription;

        @ApiModelProperty(value = "店铺地址")
        private String address;//商铺地址

        @ApiModelProperty(value = "联系方式")
        private String mobile;

        @ApiModelProperty(value = "密码")
        private String password;

        @ApiModelProperty(value = "昵称")
        private String nickname;

        @ApiModelProperty(value = "门店照片")
        private String avatar;

        @ApiModelProperty(value = "商家审核凭据")
        private String evidence;

        @ApiModelProperty(value = "逻辑删除  0未删除  1已删除")
        private Boolean isDeleted;

        @ApiModelProperty(value = "禁用标志")
        private Boolean isDisabled;

        @ApiModelProperty(value = "创建时间")
        private Date createTime;

        @ApiModelProperty(value = "修改时间")
        private Date modifiedTime;

        private String subjectName;
        private String subjectParentName;
        private String isChecked;
    }
}
